﻿<Grid x:Class="Guitar.Vues.VueMesure"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:PresentationOptions="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options" 
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     
             xmlns:local="clr-namespace:Guitar.Vues"
             MouseDown="UserControl_MouseDown"    MouseEnter="UserControl_MouseEnter" MouseLeave="UserControl_MouseLeave"
            VirtualizingStackPanel.VirtualizationMode="Recycling" Name="PanelMesure" Margin="0,0,0,20">
 
    <Grid.Resources>

        <SolidColorBrush    PresentationOptions:Freeze="True" Color="White" x:Key="normal"/>

        <RadialGradientBrush  PresentationOptions:Freeze="True" x:Name="over"  x:Key="over" >
            <GradientStop Color="#82C3FFB1" Offset="0" />
            <GradientStop Color="#84A2F276" Offset="1" />
        </RadialGradientBrush>

        <RadialGradientBrush  PresentationOptions:Freeze="True" x:Name="selected"  x:Key="selected" >
            <GradientStop Color="#82F2DA5D" Offset="0" />
            <GradientStop Color="#84EBD376" Offset="1" />
        </RadialGradientBrush>

</Grid.Resources>
        <StackPanel>
        <StackPanel  Name="panelAnnotation" PresentationOptions:Freeze="True"  Orientation="Horizontal">
        <Label Padding="2,2" Width="25" FontSize="14" Name="lblNumMesure" HorizontalAlignment="Left" Foreground="#FFCE1212" FontWeight="Bold" ToolTip="Numéro de la mesure">0</Label>
        <TextBox Height="25"  VerticalAlignment="Top" Text="Annotations"  HorizontalAlignment="Left" Padding="0,2" Background="{x:Null}" BorderBrush="{x:Null}" FontStyle="Italic" FontSize="11" ToolTip="Ici vous pouvez indiquer quelques informations sur la manière de jouer la mesure" />
    </StackPanel >
        <Grid Height="23"></Grid>
           

            <Grid Name="NotationClassique" PresentationOptions:Freeze="True"  VerticalAlignment="Top"  Margin="0,0,0,0" Height="90">

            <local:VueLigne VerticalAlignment="Top" Margin="0,-21,0,0" IsSubline="True" NumLigne="8" ></local:VueLigne>
            <local:VueLigne VerticalAlignment="Top" Margin="0,-14,0,0" IsSubline="True" NumLigne="8" ></local:VueLigne>
            <local:VueLigne VerticalAlignment="Top" Margin="0,-7,0,0" IsSubline="True" NumLigne="8" ></local:VueLigne>
            <local:VueLigne VerticalAlignment="Top" IsSubline="True" NumLigne="8" ></local:VueLigne>
            <local:VueLigne VerticalAlignment="Top" IsSubline="True" NumLigne="7"  Margin="0,7,0,0" ></local:VueLigne>
            <local:VueLigne VerticalAlignment="Top" IsSubline="True" NumLigne="6" Margin="0,14,0,0" ></local:VueLigne>
        <local:VueLigne VerticalAlignment="Top" IsSubline="True" NumLigne="5"  Margin="0,21,0,0" ></local:VueLigne>

        <local:VueLigne VerticalAlignment="Top" NumLigne="4" Margin="0,28,0,0" ></local:VueLigne>
        <local:VueLigne VerticalAlignment="Top" NumLigne="3" Margin="0,35,0,0"></local:VueLigne>
        <local:VueLigne VerticalAlignment="Top" NumLigne="2" Margin="0,42,0,0"></local:VueLigne>
        <local:VueLigne VerticalAlignment="Top" NumLigne="1" Margin="0,49,0,0"></local:VueLigne>
        <local:VueLigne VerticalAlignment="Top" NumLigne="0" Margin="0,56,0,0"></local:VueLigne>

        <local:VueLigne VerticalAlignment="Top" IsSubline="True" NumLigne="-1" Margin="0,63,0,0" ></local:VueLigne>
        <local:VueLigne VerticalAlignment="Top" IsSubline="True" NumLigne="-2" Margin="0,70,0,0" ></local:VueLigne>
        <local:VueLigne VerticalAlignment="Top" IsSubline="True" NumLigne="-3" Margin="0,77,0,0" ></local:VueLigne>
        <local:VueLigne VerticalAlignment="Top" IsSubline="True" NumLigne="-4" Margin="0,84,0,0" ></local:VueLigne>

        <!-- Lignes de la porté-->
        <StackPanel Name="panelNote"  Orientation="Horizontal" Margin="5,0,0,0">
             

            </StackPanel>

    </Grid>
    <Grid>
            <local:VueLigne VerticalAlignment="Top" Height="10" IsTabLine="true" Margin="0,5,0,0" NumLigne="5" ></local:VueLigne>
            <local:VueLigne VerticalAlignment="Top" Height="10" IsTabLine="true" Margin="0,12,0,0"  NumLigne="4" ></local:VueLigne>
            <local:VueLigne VerticalAlignment="Top" Height="10" IsTabLine="true"  Margin="0,19,0,0"  NumLigne="3" ></local:VueLigne>
            <local:VueLigne VerticalAlignment="Top" Height="10" IsTabLine="true"  Margin="0,26,0,0"  NumLigne="2"  ></local:VueLigne>
            <local:VueLigne VerticalAlignment="Top" Height="10" IsTabLine="true"  Margin="0,33,0,0"  NumLigne="1"></local:VueLigne>
        <local:VueLigne VerticalAlignment="Top" Height="10"  IsTabLine="true"  Margin="0,40,0,0"  NumLigne="0"></local:VueLigne>


        <StackPanel  Name="panelNoteTab"  Orientation="Horizontal" Margin="0,0,0,0">
       <!--  <local:VueNoteTab Margin="0,-31,0,0"></local:VueNoteTab>
            <local:VueNoteTab Margin="0,-17,0,0"></local:VueNoteTab>
            <local:VueNoteTab Margin="0,-3,0,0"></local:VueNoteTab>
            <local:VueNoteTab Margin="0,11,0,0"></local:VueNoteTab>
                <local:VueNoteTab Margin="0,25,0,0"></local:VueNoteTab>
                <local:VueNoteTab Margin="0,39,0,0"></local:VueNoteTab> -->
            </StackPanel>
    </Grid>
   
</StackPanel>
    <Rectangle PresentationOptions:Freeze="True"  Height="103" HorizontalAlignment="Left" Margin="0,0,0,5" Name="DebutMesure" Stroke="Black" VerticalAlignment="Bottom" Width="1" Fill="Black" />
</Grid>



    

